﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///EPioneerDataModel 的摘要说明
/// </summary>
public class EPioneerDataModel
{
    #region Model
    private int _n_id;
    private int _n_bigclassid;
    private int _n_subclassid;
    private string _n_title;
    private string _n_content;
    private string _n_url;
    private string _n_author;
    private string _n_origin;
    private DateTime _n_createdate;
    private DateTime _n_enddate;
    private string _n_mark;
    private string _hidden;
    private DateTime _n_modifydate;
    private string _corsymbol;
    private string _n_ispublic;
    private int _n_isgo;
    private int _usertype;
    private int _optiontype;
    private string _optioncontent;
    private string _n_abstract;
    private int _n_level;
    private string opMsg;
    private string returnValue;

    /// <summary>
    /// 
    /// </summary>
    public int n_id
    {
        set { _n_id = value; }
        get { return _n_id; }
    }
    /// <summary>
    /// 大类ID
    /// </summary>
    public int n_bigclassid
    {
        set { _n_bigclassid = value; }
        get { return _n_bigclassid; }
    }
    /// <summary>
    /// 小类ID
    /// </summary>
    public int n_subclassid
    {
        set { _n_subclassid = value; }
        get { return _n_subclassid; }
    }
    /// <summary>
    /// 标题
    /// </summary>
    public string n_title
    {
        set { _n_title = value; }
        get { return _n_title; }
    }
    /// <summary>
    /// 正文
    /// </summary>
    public string n_content
    {
        set { _n_content = value; }
        get { return _n_content; }
    }
    /// <summary>
    /// 外链
    /// </summary>
    public string n_url
    {
        set { _n_url = value; }
        get { return _n_url; }
    }
    /// <summary>
    /// 作者
    /// </summary>
    public string n_author
    {
        set { _n_author = value; }
        get { return _n_author; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string n_origin
    {
        set { _n_origin = value; }
        get { return _n_origin; }
    }
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime n_createdate
    {
        set { _n_createdate = value; }
        get { return _n_createdate; }
    }
    /// <summary>
    /// 新闻有效截止日期
    /// </summary>
    public DateTime n_enddate
    {
        set { _n_enddate = value; }
        get { return _n_enddate; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string n_mark
    {
        set { _n_mark = value; }
        get { return _n_mark; }
    }
    /// <summary>
    /// 是否隐藏,0否，1是
    /// </summary>
    public string hidden
    {
        set { _hidden = value; }
        get { return _hidden; }
    }
    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime n_modifyDate
    {
        set { _n_modifydate = value; }
        get { return _n_modifydate; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string corSymbol
    {
        set { _corsymbol = value; }
        get { return _corsymbol; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string n_ISpublic
    {
        set { _n_ispublic = value; }
        get { return _n_ispublic; }
    }
    /// <summary>
    /// 
    /// </summary>
    public int n_Isgo
    {
        set { _n_isgo = value; }
        get { return _n_isgo; }
    }
    /// <summary>
    /// 
    /// </summary>
    public int userType
    {
        set { _usertype = value; }
        get { return _usertype; }
    }
    /// <summary>
    /// 
    /// </summary>
    public int optionType
    {
        set { _optiontype = value; }
        get { return _optiontype; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string optionContent
    {
        set { _optioncontent = value; }
        get { return _optioncontent; }
    }
    /// <summary>
    /// 
    /// </summary>
    public string n_Abstract
    {
        set { _n_abstract = value; }
        get { return _n_abstract; }
    }
    /// <summary>
    /// 
    /// </summary>
    public int n_Level
    {
        set { _n_level = value; }
        get { return _n_level; }
    }

    /// <summary>
    /// 返回信息
    /// </summary>
    public string OpMsg
    {
        get { return opMsg; }
        set { opMsg = value; }
    }

    /// <summary>
    /// 查询结果
    /// </summary>
    public string ReturnValue
    {
        get { return returnValue; }
        set { returnValue = value; }
    }
    #endregion Model
}

public class DataModel
{
    private int _total;
    /// <summary>
    /// 总条数
    /// </summary>
    public int Total
    {
        get { return _total; }
        set { _total = value; }
    }
    private List<EPioneerDataModel> _ePioneerDataModel;

    /// <summary>
    /// 
    /// </summary>
    public List<EPioneerDataModel> ListModel
    {
        get { return _ePioneerDataModel; }
        set { _ePioneerDataModel = value; }
    }
}

/// <summary>
/// EM机构报告（信息部录入）（EM_RESEARCH_REPORT）
/// </summary>
public class EM_RESEARCH_REPORT
{
    public EM_RESEARCH_REPORT()
    { }
    #region Model
    private string _code;
    private string _type;
    private string _title;
    private string _source;
    private string _author;
    private string _secucode;
    private string _ifpub;
    private DateTime _publdate;
    private string _grade;
    private string _keywords;
    private string _hyperlink;
    private string _abstract;
    private string _content;
    private string _memo;
    private DateTime _rectime;
    private DateTime _modtime;
    private string _isvalid;
    private string _recordid;
    /// <summary>
    /// 新闻编号
    /// </summary>
    public string Code
    {
        set { _code = value; }
        get { return _code; }
    }
    /// <summary>
    /// 新闻类型
    /// </summary>
    public string Type
    {
        set { _type = value; }
        get { return _type; }
    }
    /// <summary>
    /// 标题
    /// </summary>
    public string Title
    {
        set { _title = value; }
        get { return _title; }
    }
    /// <summary>
    /// 新闻来源
    /// </summary>
    public string Source
    {
        set { _source = value; }
        get { return _source; }
    }
    /// <summary>
    /// 作者
    /// </summary>
    public string Author
    {
        set { _author = value; }
        get { return _author; }
    }
    /// <summary>
    /// 相关股票
    /// </summary>
    public string SecuCode
    {
        set { _secucode = value; }
        get { return _secucode; }
    }
    /// <summary>
    /// 是否发布
    /// </summary>
    public string IfPub
    {
        set { _ifpub = value; }
        get { return _ifpub; }
    }
    /// <summary>
    /// 发布时间
    /// </summary>
    public DateTime PublDate
    {
        set { _publdate = value; }
        get { return _publdate; }
    }
    /// <summary>
    /// 新闻重要度
    /// </summary>
    public string Grade
    {
        set { _grade = value; }
        get { return _grade; }
    }
    /// <summary>
    /// 关键字
    /// </summary>
    public string KeyWords
    {
        set { _keywords = value; }
        get { return _keywords; }
    }
    /// <summary>
    /// 外部链接
    /// </summary>
    public string HyperLink
    {
        set { _hyperlink = value; }
        get { return _hyperlink; }
    }
    /// <summary>
    /// 摘要
    /// </summary>
    public string Abstract
    {
        set { _abstract = value; }
        get { return _abstract; }
    }
    /// <summary>
    /// 内容
    /// </summary>
    public string Content
    {
        set { _content = value; }
        get { return _content; }
    }
    /// <summary>
    /// 备注
    /// </summary>
    public string Memo
    {
        set { _memo = value; }
        get { return _memo; }
    }
    /// <summary>
    /// 录入时间
    /// </summary>
    public DateTime RecTime
    {
        set { _rectime = value; }
        get { return _rectime; }
    }
    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime ModTime
    {
        set { _modtime = value; }
        get { return _modtime; }
    }
    /// <summary>
    /// 是否有效
    /// </summary>
    public string IsValid
    {
        set { _isvalid = value; }
        get { return _isvalid; }
    }
    /// <summary>
    /// 记录ID
    /// </summary>
    public string RecordID
    {
        set { _recordid = value; }
        get { return _recordid; }
    }
    #endregion Model

}

/// <summary>
/// 新股咨讯
/// </summary>
public class NewDateModel
{
    string _code;

    public string Code
    {
        get { return _code; }
        set { _code = value; }
    }
    string _name;

    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }

    int id;

    public int Id
    {
        get { return id; }
        set { id = value; }
    }
    string title;

    public string Title
    {
        get { return title; }
        set { title = value; }
    }
    DateTime pTime;

    public DateTime PTime
    {
        get { return pTime; }
        set { pTime = value; }
    }
    DateTime sPTime;

    public DateTime SPTime
    {
        get { return sPTime; }
        set { sPTime = value; }
    }
    string keyWord;

    public string KeyWord
    {
        get { return keyWord; }
        set { keyWord = value; }
    }
    string content;

    public string Content
    {
        get { return content; }
        set { content = value; }
    }
    string author;

    public string Author
    {
        get { return author; }
        set { author = value; }
    }
    string stcok;

    public string Stcok
    {
        get { return stcok; }
        set { stcok = value; }
    }
    string source;

    public string Source
    {
        get { return source; }
        set { source = value; }
    }
    string summary;

    public string Summary
    {
        get { return summary; }
        set { summary = value; }
    }
    string url;

    public string Url
    {
        get { return url; }
        set { url = value; }
    }
    string step;

    public string Step
    {
        get { return step; }
        set { step = value; }
    }
    string imageUrl;

    public string ImageUrl
    {
        get { return imageUrl; }
        set { imageUrl = value; }
    }
    string nature;

    public string Nature
    {
        get { return nature; }
        set { nature = value; }
    }
}

/// <summary>
/// 新股资讯列表数据
/// </summary>
public class NewDateList
{
    string _typeid;

    public string typeid
    {
        get { return _typeid; }
        set { _typeid = value; }
    }
    string _typename;

    public string typename
    {
        get { return _typename; }
        set { _typename = value; }
    }
    List<NewDateModel> _list;

    public List<NewDateModel> list
    {
        get { return _list; }
        set { _list = value; }
    }
}